<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>clip-pic</title>
    <link rel="stylesheet" href="./css/index.css">
</head>
<body>
    <div class="loading">loading...</div>
    <div class="wrapper">
        <div class="title">An example of clipping a picture with canvas. <a href="https://github.com/shinn-lancelot/clip-pic">Github Repository</a></div>
        <div class="box">
            <img class="clip-img" ondragstart="return false" alt="">
            <div id="drag">
                <div class="dot-box">
                    <div class="up dot"></div>
                    <div class="down dot"></div>
                    <div class="left dot"></div>
                    <div class="right dot"></div>
                    <div class="left-up dot"></div>
                    <div class="right-up dot"></div>
                    <div class="left-down dot"></div>
                    <div class="right-down dot"></div>
                </div>
            </div>
        </div>
        <div class="btn-box">
            <div class="clip-btn">clip</div>
        </div>
    </div>
    <script src="./js/index.js"></script>
</body>
</html>